package top.csmcool.musicapi.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import top.csmcool.musicapi.domain.UserPlatformBindInfo;
import top.csmcool.musicapi.domain.Users;
import top.csmcool.musicapi.model.admin.PageVO;
import top.csmcool.musicapi.model.admin.SystemSetting;
import top.csmcool.musicapi.model.admin.UserPlatformBindInfoPageRequest;
import top.csmcool.musicapi.model.admin.UsersRequest;
import top.csmcool.musicapi.model.result.Request;
import top.csmcool.musicapi.model.result.Result;

/**
 * @Description
 * @Author shizhe
 * @Date 2025/2/13
 */

public interface AdminService {

    public Result<PageVO<UserPlatformBindInfo>> queryUserPlatformBindInfo(Request<UserPlatformBindInfoPageRequest> request);

    public Result<PageVO<Users>> queryUsers(Request<UsersRequest> request);

    public Result<SystemSetting> querySystemSetting();

    Result<Users> updateUserInfo(Request<Users> request);

    Result<UserPlatformBindInfo> updatePlatformInfo(Request<UserPlatformBindInfo> request);
}
